Package-level declarations
Types
General, all-purpose annotation for any public API that may change.
An implementation of ViewPathProvider that tries to set the Path from a MaterialShapeDrawable in the target's background.
Helper class that blends the two native shadow colors into a single value appropriate for use with outlineShadowColorCompat.
General Exception class for known possible error states.
Helper object that allows for sensible namespacing of standalone or otherwise unique miscellanea.
The possible shadow modes.
Options for locations in the View hierarchy's draw routine where a target's library shadow can be inserted.
An interface through which to set the clip Path for irregularly shaped Views on API levels 30 and above.
Properties
The current state of the clipped shadow fix for the receiver View.
Determines whether the color compat mechanism should be forced if the current API level is 28 or above.
A patch fix for potential clip defects on API levels 24..28, when a target's parent ViewGroup has a non-identity matrix applied.
An implementation of ViewPathProvider that tries to set the Path from a MaterialShapeDrawable in the target's background.
The current color compat value for the receiver View.
The ViewPathProvider used by clipOutlineShadow for irregular shapes on API levels 30+.
The current ShadowMode of the receiver's shadow.
The current ShadowPlane for the receiver View's library shadow.
Functions
Callback for ShadowMode changes. The target View is passed as the receiver for action, allowing for unqualified access to its members.
Convenience for completely resetting a target's shadow state, removing the library shadow if present, and restoring the (presumably broken) native one.
Allows for efficient modification of multiple shadow properties at once, pausing potentially redundant internal operations until block completes. This functionality is particularly helpful in recycling Adapters that set more than one shadow property.